<%@page import="db_interaction.Amigos"%>
<%@include file="header_general.jsp"%>

<div class="mainbar">


    <%

        List<Fotos> fotos = null;
        Fotos f2 = new Fotos();
        int id_user = (Integer) session.getAttribute("id_user");

        fotos = f2.SelectFotosUser(id_user);

        out.print("<h2><span>Your Photos</span></h2>");
        out.print("<br />");
        for (int i = 0; i < fotos.size(); i++) {
            out.print("<div style='float:left'>");
            out.print("<img src='/TheHive/images/" + fotos.get(i).GETFotos_foto() + "' width='268px'></img>");
            out.print("</div>");
        }

    %>

</div>


<%@include file="sidebar_general.jsp"%>